package com.example.systemserver.mapper;

import com.example.systemserver.bean.PersonBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PersonMapper {
    //返回值为int及0和1
    int save(PersonBean personBean);
    //容器集合
    List<PersonBean> list(PersonBean personBean);
    int remove(PersonBean personBean);
    PersonBean info(PersonBean personBean);
    int edit(PersonBean personBean);
}
